plat/arm: Allow override of default TZC regions
authorSummer Qin <summer.qin@arm.com>
Mon, 12 Mar 2018 03:28:26 +0000 (11:28 +0800)
committerSummer Qin <summer.qin@arm.com>
Tue, 10 Apr 2018 06:30:03 +0000 (14:30 +0800)
commit23411d2c4adcec412befb4ffbbfbf81c743a59c6
treec34ad4ba9d98788645c9dd1b0675c20c61eb4009
parentf11916bf1dfecd7ee76240eebd847681ce366a67
plat/arm: Allow override of default TZC regions

This patch allows the ARM Platforms to specify the TZC regions to be
specified to the ARM TZC helpers in arm_tzc400.c and arm_tzc_dmc500.c.
If the regions are not specified then the default TZC region will be
configured by these helpers.

This override mechanism allows specifying special regions for TZMP1
usecase.

Signed-off-by: Summer Qin <summer.qin@arm.com>
include/plat/arm/common/plat_arm.h
plat/arm/board/fvp/fvp_security.c
plat/arm/board/juno/juno_security.c
plat/arm/common/arm_tzc400.c
plat/arm/common/arm_tzc_dmc500.c